package utils;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.TimeUnit;

/**
 * @Author : orangeCy.奕
 * @Product : 猎豹养成产品源码
 * @Time : 2023/9/2
 * @Desc : ThreadPoolExecutor
 */
public class ThreadPoolExecutor {
    public static final ExecutorService MIGRATE_POOL =
            new java.util.concurrent.ThreadPoolExecutor(
                    10,
                    30,
                    300, TimeUnit.MICROSECONDS,
                    new LinkedBlockingDeque<>(10000));
}
